﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EquipmentManagement.Domain.Entities
{
    /// <summary>
    /// 设备类型实体
    /// </summary>
    [SqlSugar.SugarTable("DeviceType")]
    public class DeviceType : BaseEntity
    {
        /// <summary>
        /// 设备类别编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 设备类别名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 设备类别描述
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string? Description { get; set; }
        /// <summary>
        /// 扩展字段
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string? One { get; set; }
    }
}
